<div class="table-responsive" style="overflow-x: visible;">
    <table class="table table-bordered table-hover">
        <tbody>
        <tr>
            <th class="hidden-xs">
                <label><input onchange="checkAll()" type="checkbox" value=""></label>
            </th>
            <th>ID</th>
            <th>key</th>
            <th>名称</th>
            <th>分组</th>
            <th>类型</th>
            <th>值</th>
            <th>状态</th>
            <th>操作</th>
        </tr>

        {{#each records}}
        <tr>
            <td class="hidden-xs">
                <label><input name="checkbox" class="check" type="checkbox" value="{{id}}"></label>
            </td>
            <td>{{id}}</td>
            <td>{{key}}</td>
            <td>{{title}}</td>
            <td>{{group}}</td>
            <td>{{valueType}}</td>
            <td>{{value}}</td>
            <td>
                {{#eq status 1}}
                <button onclick="disableItem('{{id}}')" class="btn btn-success"><span class="glyphicon glyphicon-ok"/> </button>
                {{else}}
                <button onclick="enableItem('{{id}}')" class="btn btn-danger" ><span class="glyphicon glyphicon-remove"/></button>
                {{/eq}}
            </td>
            <td class="table-action">
                {{#eq editable true}}
                <a href="/admin/config/add?id={{id}}">编辑</a>
                {{/eq}}
                {{#eq deletable true}}
                <button onclick="deleteItem('{{id}}')" class="btn btn-danger" >删除</button>
                {{/eq}}
            </td>
        </tr>
        {{/each}}

        </tbody>
    </table>
    <div class="box-footer no-padding">
        <div class="mailbox-controls">
            <div class="pull-right">
                {{{pager}}}
            </div>
        </div>
    </div>
</div>